export default class Leader {
  static getClassList(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/classInfo/getClassList', 'get', params, axiosOption, httpOption);
  }


  // 学生权限
  static getDocList(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/classDoc/student/getDocList', 'get', params, axiosOption, httpOption);
  }


  // 领导权限

  static getCourseList(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/courseInfo/getCourseList', 'get', params, axiosOption, httpOption);
  }
  static getForumList(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/courseForum/getForumList', 'post', params, axiosOption, httpOption);
  }
  static courseForumAdd(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/courseForum/add', 'post', params, axiosOption, httpOption);
  }

  //班级 老师 课程
  static classInfolistDict(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/classInfo/listDict', 'get', params, axiosOption, httpOption);
  }
  static teacherInfolistDict(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/teacherInfo/listDict', 'get', params, axiosOption, httpOption);
  }
  static courseInfolistDict(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/courseInfo/listDict', 'get', params, axiosOption, httpOption);
  }

  //点赞
  static courseForumLikeAdd(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/courseForumLike/add', 'post', params, axiosOption, httpOption);
  }
  static deleteLike(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/courseForumLike/deleteLike', 'get', params, axiosOption, httpOption);
  }

  static getPaper(sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/tPaperInfo/student/getPaper', 'get', params, axiosOption, httpOption);
  }
}  